#include "mydialogsize.h"

MyDialogSize::MyDialogSize(QWidget *parent)
	: QDialog(parent)
	, ui(new Ui::MyDialogSizeClass())
{
	ui->setupUi(this);

	
}

MyDialogSize::~MyDialogSize()
{
	delete ui;
}

void MyDialogSize::set_row_column(int row, int column)
{
	ui->spinBox_Column->setValue(column);
	ui->spinBox_Row->setValue(row);
}

int MyDialogSize::row_count()
{
	return ui->spinBox_Row->value();
}

int MyDialogSize::column_count()
{
	return ui->spinBox_Column->value();
}
